This Web page describes functions currently being added to the QuickTime documentation.
GetDSequenceMatrix gets the matrix that was specified for a decompression sequence by a call to SetDSequenceMatrix , or that was set at DecompressSequenceBegin .
OSErr GetDSequenceMatrix (
ImageSequence seqID,
MatrixRecordPtr matrix);
InstrumentGetSynthesizerType gets the synthesizer type for an instrument.
ComponentResult InstrumentGetSynthesizerType (
ComponentInstance ci,
OSType *synthesizerType);
NewMusicMIDIReadHookProc creates a MIDI read hook routine descriptor.
MusicMIDIReadHookUPP NewMusicMIDIReadHookProc (
MusicMIDIReadHookProcPtr userRoutine);
xx creates a routine descriptor for an offline synthesis callback function.
MusicOfflineDataUPP NewMusicOfflineDataProc (
MusicOfflineDataProcPtr userRoutine);
This function creates a routine descriptor for an offline synthesis callback function. The callback function will be called periodically with a buffer of synthesized sample data, which may be written to a file. The pointer that this function returns may be passed to the MusicStartOffline function.
QTPhotoDefineHuffmanTable defines a Huffman table.
ComponentResult QTPhotoDefineHuffmanTable (
ComponentInstance codec,
short componentNumber,
Boolean isDC,
unsigned char *lengthCounts,
unsigned char *values);
This function lets you define a Huffman table to be used in future JPEG compression operations. Normally the JPEG image compressor components use the default Huffman tables as specified in sections K.3 through K.6 of the JPEG specification. You can use the QTPhotoDefineHuffmanTable function to override the default tables.
This call is supported only by the Photo JPEG and Motion JPEG compressors. Only advanced programmers will need to use this function.
QTPhotoDefineQuantizationTable specifies a custom quantization table.
ComponentResult QTPhotoDefineQuantizationTable (
ComponentInstance codec,
short componentNumber,
unsigned char *table);
By default, the JPEG compressors select quantization tables based on quality settings. The QTPhotoDefineQuantizationTable function lets you override these tables with tables of your own choice.
This call is only supported by the Photo JPEG and Motion JPEG compressors. Only advanced programmers will need to use this function.
QTPhotoSetRestartInterval specifies the restart interval to use in future JPEG compression operations.
ComponentResult QTPhotoSetRestartInterval (
ComponentInstance codec,
unsigned short restartInterval);
By default, the JPEG compressor components do not insert restart markers in the compressed data stream unless the "optimize for streaming" setting is selected.
This call is supported only by the Photo JPEG and Motion JPEG compressors. Only advanced programmers will need to use this function.
QTPhotoSetSampling specifies the chrominance downsampling ratio to use in future JPEG compression operations.
ComponentResult QTPhotoSetSampling (
ComponentInstance codec,
short yH,
short yV,
short cbH,
short cbV,
short crH,
short crV);
By default, the Photo JPEG compressor uses 4:1:1 chroma downsampling and the Motion JPEG compressors use 4:2:2 chroma downsampling for most quality settings. For codecLosslessQuality, both compressors disable chroma downsampling.
Currently the only supported downsampling ratios are none (pass 1,1,1,1,1,1), 4:2:2 (pass 2,1,1,1,1,1) and 4:1:1 (pass 2,2,1,1,1,1).
This call is supported only by the Photo JPEG and Motion JPEG compressors. Only advanced programmers will need to use this function.
| Chapter Contents | Next |